package com.example.owner.bean.impl;

import com.example.owner.bean.Engine;
import io.micronaut.context.annotation.Bean;
import io.micronaut.context.annotation.Context;
import jakarta.inject.Singleton;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class V11Engine implements Engine {  // (2)

    public V11Engine() {
        log.info("Engine >> V11Engine init");
    }
    @Override
    public String start() {
        return "Starting V11Engine";
    }

    @Override
    public int getCylinders() {
        return 11;
    }

}